projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e6177d
)
places sidebar: Always chain up in finalize
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 21 Jul 2015 23:51:50 +0000
(19:51 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 21 Jul 2015 23:52:54 +0000
(19:52 -0400)
The GtkSidebarRow class was forgetting to do this. The visible
symptom of this in valgrind is that you notice GObject data
being leaked.
gtk/gtksidebarrow.c
patch
|
blob
|
history
diff --git
a/gtk/gtksidebarrow.c
b/gtk/gtksidebarrow.c
index 64e1b209a4dea06829c3bc0b2d522306f0656051..e6470f1a555cc5bc72fe4a4c36e0801521e31677 100644
(file)
--- a/
gtk/gtksidebarrow.c
+++ b/
gtk/gtksidebarrow.c
@@
-298,6
+298,8
@@
gtk_sidebar_row_finalize (GObject *object)
g_clear_object (&self->drive);
g_clear_object (&self->volume);
g_clear_object (&self->mount);
+
+ G_OBJECT_CLASS (gtk_sidebar_row_parent_class)->finalize (object);
}
static void